package com.webside.banner.service;

import java.util.List;
import java.util.Map;

import com.webside.banner.model.BannerEntity;


public interface BannerService {

	 //bannerlist
	public List<BannerEntity> queryListByPage(Map<String, Object> parameter);
	 //partnerlist
	public List<BannerEntity> queryListPartner(Map<String, Object> parameter);
	
	public BannerEntity findById(Long id);

	public int update(BannerEntity record);
   
    public int deleteBatchById(List<Long> bannerIds);
   
    public int insert(BannerEntity record);
    //查询全部
    public List<BannerEntity>selectall(BannerEntity banners);
    
    //更新不验证
   	public BannerEntity findByName(String name);
    
}
